
#Builds the core assembiles,
#templates and xsds + readme
#into a single zip for upload
#only uses the release build

ECHO Removing old zip if any
del ".\Scryber.Core.Release_0_8.zip"

ECHO Adding Dlls
"C:\Program Files (x86)\7-Zip\7za" a -tzip -r ".\Scryber.Core.Release.0_8.zip" ".\bin\Release\*.dll"

ECHO Adding Templates
"C:\Program Files (x86)\7-Zip\7za" a -tzip -r ".\Scryber.Core.Release.0_8.zip" ".\bin\Release\Templates\"

ECHO Adding XSDs
"C:\Program Files (x86)\7-Zip\7za" a -tzip -r ".\Scryber.Core.Release.0_8.zip" ".\bin\Release\Schemas\"


ECHO Adding Configuration
"C:\Program Files (x86)\7-Zip\7za" a -tzip -r ".\Scryber.Core.Release.0_8.zip" ".\bin\Release\Configuration\"

ECHO Adding Readme
"C:\Program Files (x86)\7-Zip\7za" a -tzip -r ".\Scryber.Core.Release.0_8.zip" ".\Readme.pdf"

ECHO Adding LGPL
"C:\Program Files (x86)\7-Zip\7za" a -tzip -r ".\Scryber.Core.Release.0_8.zip" ".\COPYING.txt"
